<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="NeuralNetworkIo.html">
<link rel="next" href="MlPerceptron.html">
<link rel="Up" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class attributes" rel=Appendix href="index_attributes.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="NeuralNetwork" rel="Chapter" href="NeuralNetwork.html">
<link title="NeuralNetworkIo" rel="Chapter" href="NeuralNetworkIo.html">
<link title="Adaline" rel="Chapter" href="Adaline.html">
<link title="MlPerceptron" rel="Chapter" href="MlPerceptron.html">
<link title="SigmoidMlPerceptron" rel="Chapter" href="SigmoidMlPerceptron.html"><title>Adaline</title>
</head>
<body>
<div class="navbar"><a href="NeuralNetworkIo.html">Previous</a>
&nbsp;<a href="index.html">Up</a>
&nbsp;<a href="MlPerceptron.html">Next</a>
</div>
<center><h1>Module <a href="type_Adaline.html">Adaline</a></h1></center>
<br>
<pre><span class="keyword">module</span> Adaline: <code class="code">sig</code> <a href="Adaline.html">..</a> <code class="code">end</code></pre>Implements the Adaline network<br>
<hr width="100%">
<pre><span class="keyword">class</span> <a name="TYPEadaline"></a><a href="Adaline.adaline.html">adaline</a> : <code class="type">int -> int -> float Matrix.matrix -> float array -> </code><code class="code">object</code> <a href="Adaline.adaline.html">..</a> <code class="code">end</code></pre><div class="info">
Mutable adaline object
</div>
<pre><span class="keyword">type</span> <a name="TYPEt"></a><code class="type"></code>t = <code class="type"><a href="Adaline.adaline.html">adaline</a></code> </pre>

<pre><span class="keyword">val</span> <a name="VALcreate"></a>create : <code class="type">int -> int -> float -> float -> <a href="Adaline.adaline.html">adaline</a></code></pre><div class="info">
<code class="code">create input_size output_size weight bias</code>
creates an adaline object where
all weights are initialized to weight, all biases to bias<br>
</div>
<pre><span class="keyword">val</span> <a name="VALinit"></a>init : <code class="type">int -> int -> (int -> int -> float) -> (int -> float) -> <a href="Adaline.adaline.html">adaline</a></code></pre><div class="info">
<code class="code">create input_size output_size init_weight init_bias</code> creates an adaline object where : <ul>
<li><code class="code">weight = init_weight i j</code> where i is the layer index, j the neuron position </li>
<li><code class="code">bias = init_bias i</code> where i is the layer index</li>
</ul>
<br>
</div>
</body></html>